package edu.wpi.cs509.representation;

import java.io.Serializable;

/**
 * StrategoObjectBc is the very highest base class.
 * All other base classes derive from StrategoObjectBc.
 *
 * StrategoObjectBc has a name and method getName() to get it.
 * @author cwinsor
 */
public abstract class StrategoObjectBc implements Serializable {
	private static final long serialVersionUID = 1L; // version of this structure
	private String name; // gives the object a name

	/**
	 * Constructor
	 * @param name - this is the name of the object
	 */
	public StrategoObjectBc(String name) {
		this.name = name;
	}

	/**
	 * Access method for name
	 * @return - returns string with the name of the object
	 */
	public String getName() {
		return name;
	}
	
	
}
